<template>
  <div>
    <h2>我是count组件</h2>
    <button @click="count++">累加</button>
    <p class="count">{{count}}</p>
  </div>
</template>

<script>
export default {
  name: 'Count',
  data(){
    return{
      count:0,
    }
  }
}
</script>
